﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
///Topic 的摘要说明
/// </summary>
public class Topic
{
    /// <summary>
    /// 主键编号
    /// </summary>
    public int Id
    {
        get;
        set;
    }

    /// <summary>
    /// 标题
    /// </summary>
    public string Title
    {
        get;
        set;
    }

    /// <summary>
    /// 简介
    /// </summary>
    public string Summary
    {
        get;
        set;
    }

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime? CTime
    {
        get;
        set;
    }

    /// <summary>
    /// 图片路径
    /// </summary>
    public string ImageUrl
    {
        get;
        set;
    }

    public bool? IsEnable
    {
        get;
        set;
    }
}

/// <summary>
///Topics2 的摘要说明
/// </summary>
public class Topics2
{
    /// <summary>
    ///  左上角图片路径
    /// </summary>
    public string ImageUrl
    {
        get;
        set;
    }

    /// <summary>
    /// 标题图片路径
    /// </summary>
    public string ImageUrl3
    {
        get;
        set;
    }

    /// <summary>
    /// 行显示
    /// </summary>
    public List<bool> HDisplay
    {
        get;
        set;
    }

    /// <summary>
    /// 投票类型编号
    /// </summary>
    public string VoteTypeId
    {
        get;
        set;
    }

    /// <summary>
    /// 导语
    /// </summary>
    public string DalYu
    {
        get;
        set;
    }

    /// <summary>
    /// 头条新闻
    /// </summary>
    public Topics2_News FirstNews
    {
        get;
        set;
    }


    /// <summary>
    /// 第一排标题
    /// </summary>
    public string T1
    {
        get;
        set;
    }

    /// <summary>
    /// 表格
    /// </summary>
    public string Table
    {
        get;
        set;
    }

    /// <summary>
    /// 
    /// </summary>
    public List<Topics2_News> H1
    {
        get;
        set;
    }


    public string T21
    {
        get;
        set;
    }

    /// <summary>
    /// 第二排第一列
    /// </summary>
    public List<Topics2_News> H21
    {
        get;
        set;
    }


    public string T22
    {
        get;
        set;
    }

    /// <summary>
    /// 第二排第一列
    /// </summary>
    public List<Topics2_News> H22
    {
        get;
        set;
    }

    public string T23
    {
        get;
        set;
    }

    /// <summary>
    /// 第二排第一列
    /// </summary>
    public List<Topics2_News> H23
    {
        get;
        set;
    }

    public string T31
    {
        get;
        set;
    }

    public List<Topics2_News> H31
    {
        get;
        set;
    }

    public string T32
    {
        get;
        set;
    }

    public List<Topics2_News> H32
    {
        get;
        set;
    }

    public string T4
    {
        get;
        set;
    }

    public List<Topics2_News> H4
    {
        get;
        set;
    }

    public string T5
    {
        get;
        set;
    }

    public List<Topics2_Image> H5
    {
        get;
        set;
    }

    public string T6
    {
        get;
        set;
    }

    public string H6
    {
        get;
        set;
    }

    public string T71
    {
        get;
        set;
    }

    public List<Topics2_News> H71
    {
        get;
        set;
    }

    public string T72
    {
        get;
        set;
    }

    public List<Topics2_News> H72
    {
        get;
        set;
    }
}

public class Topics2_News
{
    public long? Id
    {
        get;
        set;
    }

    /// <summary>
    /// 标题
    /// </summary>
    public string Title
    {
        get;
        set;
    }

    /// <summary>
    /// 概要
    /// </summary>
    public string Summary
    {
        get;
        set;
    }

    /// <summary>
    /// 图片路劲
    /// </summary>
    public string ImgUrl
    {
        get;
        set;
    }
}

public class Topics2_Image
{
    public string Title
    {
        get;
        set;
    }

    public string Path
    {
        get;
        set;
    }

    public bool IsBigImg
    {
        get;
        set;
    }

    public int Index
    {
        get;
        set;
    }
}

public class Topic2Vote
{
    public string TypeID
    {
        get;
        set;
    }

    public string Title
    {
        get;
        set;
    }

    public string Question
    {
        get;
        set;
    }

    public List<Topic2VoteOption> lst
    {
        get;
        set;
    }
}

public class Topic2VoteOption
{
    public long id
    {
        get;
        set;
    }

    public string Title
    {
        get;
        set;
    }

    public long Count
    {
        get;
        set;
    }
}